<template>
  <div>
    御剑乘风来,除魔天地间!-----SlotCom
    <div class="box">
      <div class="left">左边
        <slot name="left" msg="168大姐姐"></slot>
      </div>
      <div class="right">右边===
        <slot name="right" msg="真的是太漂亮了"></slot>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'SlotCom',
  data () {
    return {

    }
  },
  created () {
  },
  computed: {
  },
  methods: {
  }
}
</script>
<style lang='less'  scoped>
.box {
  width: 500px;
  height: 50px;
}
.box .left {
  float: left;
}
.box .right {
  float: right;
}
</style>
